"""安装配置文件"""
from setuptools import setup, find_packages

# 读取 README
try:
    with open("README.md", "r", encoding="utf-8") as fh:
        long_description = fh.read()
except FileNotFoundError:
    long_description = "数据库 Schema 文档生成工具"

setup(
    name="db2word",
    version="1.0.1",
    author="",
    description="数据库 Schema 文档生成工具",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/yourusername/db2word",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Documentation",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
    ],
    python_requires=">=3.7",
    # 依赖从 pyproject.toml 中读取，不在这里重复定义
    entry_points={
        "console_scripts": [
            "db2word=main:main",
        ],
    },
)

